from django.db import models
from django.contrib.auth.models import User
from django.contrib.auth.models import AbstractUser
# Create your models here.

class User(AbstractUser):
    phone = models.CharField(max_length=16, null=True, blank=True)
    wechat = models.CharField(max_length=16, null=True, blank=True)

    class Meta:
        db_table = 'ly_user'
        verbose_name = '用户表'
        verbose_name_plural = verbose_name